using Microsoft.EntityFrameworkCore;
using Net8.Identity.Server.Models;

namespace Net8.Identity.Server.Services
{
    public class ApplicationDbContext:DbContext
    {
        //新增的模型
        public DbSet<User> Users { get; set; }
        public DbSet<CorsSetting> CorsSettings { get; set; }
        
        public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options) { }

        protected override void OnModelCreating(ModelBuilder builder) => base.OnModelCreating(builder);
    }
}